# ======================================================================
# Copyright (C) 2013 Hell-Prototypes. / www.hellprototypes.com
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or (at
# your option) any later version.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
# ======================================================================
#-------------------------------------------------
#
# Project created by QtCreator 2013-03-13T15:26:43
#
#-------------------------------------------------

QT       += core gui widgets

TARGET = Qt_Hell_PAP
TEMPLATE = app


SOURCES +=\
    hell_arm.cpp \
    tools.cpp \
    transform.cpp \
    vision_thread.cpp \
    usb_ctrl.cpp \
    motor_ctrl.cpp \
    pick_and_place.cpp \
    pap_thread.cpp \
    ctrl_feed_zone.cpp \
    controler_status.cpp \
    choose_cfg_file.cpp

HEADERS  += hell_arm.h \
    define.h \
    vision_thread.h \
    pap_thread.h \
    ctrl_feed_zone.h \
    controler_status.h \
    choose_cfg_file.h

OPENCV_PATH  = D:/Program/OpenCV2.4.6
INCLUDEPATH += $${OPENCV_PATH}/include/opencv \
               $${OPENCV_PATH}/include/
#LIBS +=        $${OPENCV_PATH}/lib/*.dll.a

LIBS += -L$${OPENCV_PATH}/lib/ \
    -lopencv_core246.dll \
    -lopencv_highgui246.dll \
    -lopencv_imgproc246.dll \
    -lopencv_features2d246.dll

INCLUDEPATH += ./libusb

win32:DEFINES  = __WIN_PORT__
win32 {
    LIBS += ../Qt_Hell_PAP/libusb/libusb_win32.a
}

unix {
    LIBS += ../Qt_Hell_PAP/libusb/libusb_linux.a
}

FORMS    += hell_arm.ui \
    choose_cfg_file.ui

RC_FILE = icon.rc
